package com.spider.mapper;

import com.spider.oss.FileInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OssMapper {

    void saveFiles(List<FileInfo> files);

    void saveFilesBatach2(List<FileInfo> files);

    void saveFile(@Param("param") FileInfo fileInfo);

    List<FileInfo> selectAll();

    List<FileInfo> selectByBatch(String batch);

}
